﻿<UserControl x:Class="Sample3.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    FontFamily="Trebuchet MS" FontSize="11"
    Width="300" Height="400">
    <Grid x:Name="LayoutRoot" Background="Beige">
        <ItemsControl x:Name="_cities">
            <ItemsControl.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal" MouseLeftButtonUp="StackPanel_MouseLeftButtonUp">
                        <TextBlock FontSize="14" Height="30" Text="{Binding CityName}" ></TextBlock>
                        <TextBlock Height="0" Text="{Binding Latitude}"></TextBlock>
                        <TextBlock Height="0" Text="{Binding Longitude}"></TextBlock>
                    </StackPanel>
                </DataTemplate>
            </ItemsControl.ItemTemplate>
        </ItemsControl>
    </Grid>
</UserControl>
